Xceed Words for .NET v3.0 Documentation
ConvertToPdf(Document,Stream,List<PdfExternalFont>) Method


Xceed.Words.NET Assembly > Xceed.Words.NET Namespace > DocX Class > ConvertToPdf Method : ConvertToPdf(Document,Stream,List<PdfExternalFont>) Method
Syntax
'Declaration
 
Public Overloads Shared Sub ConvertToPdf( _

   ByVal fileToConvert As Document, _

   ByVal outputStream As Stream, _

   Optional ByVal externalFonts As List(Of PdfExternalFont) _

) 
'Usage
 
Dim fileToConvert As Document

Dim outputStream As Stream

Dim externalFonts As List(Of PdfExternalFont)

 

DocX.ConvertToPdf(fileToConvert, outputStream, externalFonts)
public static void ConvertToPdf( 

   Document fileToConvert,

   Stream outputStream,

   List<PdfExternalFont> externalFonts

)

Parameters

fileToConvert
outputStream
externalFonts
Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

DocX Class
DocX Members
Overload List